unit Controller.Admin;

interface

uses
  System.SysUtils,
  System.Classes,
  xSuperobject,
  MVC.Command,
  MVC.View,
  Controller.Custom,
  myCommand,
  qjson;

type
  TAdminController= class(TCustomController)
  public
    procedure index();
  end;

implementation

{ TAdminController }

procedure TAdminController.index;
begin
  View.ShowHTML('index');
end;

initialization
  RegisterRoule('/admin',  TAdminController,   'admin');
finalization
  UnRegisterRoule('/admin');

end.
